﻿using Application.DTO;
using Application.DTO.User;
using Domain.Entity.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Infrastructure.IRepository.User
{
    public interface IUserRepository:IBaseRepository<UserInfo>
    {
        /// <summary>
        /// 根据登录用户名获取用户信息
        /// </summary>
        /// <param name="loginName">登录名称</param>
        /// <returns></returns>
        public Task<UserInfo> GetUserbyLoginName(string loginName);
        
    }
}
